<style>
	.editTable .label {
		min-width: 80px;
		width: 80px;
	}
</style>
<table class="editTable">
	<tr>
		<td class="label">旧密码</td>
		<td><input type="text" id="password" name="passWord" ></td>
	</tr>
	<tr>
		<td class="label">新密码</td>
		<td><input type="text" id="newpassword" name="newPassWord">
		</td>
	</tr>
	<tr>
		<td class="label">重复密码</td>
		<td><input type="text" id="password2" name="passWord2"></td>
	</tr>
</table>

<script type="text/javascript">
	$(function () {
		$('#password').iPasswordbox({
			width: 200,
			required: true,
			validType: 'minLength[5]'
		});
		$('#newpassword').iPasswordbox({
			width: 200,
			required: true,
			validType: 'minLength[5]'
		});
		$('#password2').iPasswordbox({
			width: 200,
			required: true,
			validType: "equals['#newpassword']"
		});
	});
</script>